<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<%@ taglib uri="/WEB-INF/tlds/att.tld" prefix="att"%>
<html>
<head>
<title>完整demo</title>
<script src="${contextPath}/static/js/field.js" type="text/javascript"></script>
<meta name="decorator" content="sysDefault" />

<script type="text/javascript">
function aa() {
	var path = document.getElementById("select").value;
	window.open('${contextPath}/biz/contract/template/showContract?id='
			+ path);
}


</script>
</head>
<body>
	<select id="select">
		<c:forEach items="${list }" var="template" varStatus="i">
			<option value="${template.id }">${template.templateName }</option>
		</c:forEach>
	</select>
	<br />金额
	<input type="text" value="" id="syncFun" class="updField"
		onmousemove="setField('money', event,'${contextPath}')" /> 数量
	<input type="text" value="" id="syncFun" class="updField"
		onmousemove="setField('num', event,'${contextPath}')" /> 22
	<input type="text" value="" id="1" class="" />
	<input type="button" value="SUBMIT" onclick="aa()" />
</html>